import { calcaulate } from '@/apis/calculateApi'
import { defineStore } from 'pinia'

export default defineStore('calculate', () => {
  async function calc(args: Record<string, any>) {
    return await calcaulate(args)
  }

  return { calc }
})
